/*--------------------------------------------------------------------------------------+
|
|     $Source: samples/PBDemo/PBFrameDemo/TestMYFIRSTTESTTOOLTools.h $
|
|  $Copyright: (c) 2013 Bentley Systems, Incorporated. All rights reserved. $
|
+--------------------------------------------------------------------------------------*/

#include <MobileDgn/MobileDgnApplication.h>
#include <DgnPlatform/DgnCore/QueryView.h>
#include <DgnPlatform/DgnCore/ViewController.h>
#include <DgnPlatform/DgnPlatformApi.h>
#include <DgnPlatform/DgnPlatform.h>
#include <DgnView\AccuSnap.h>
#include <DgnView/IRedraw.h>

#include "PBBimTools/PBBimToolsNames.h"
#include "PBBimTools/PBBimToolsMessages.h"

typedef bvector<DPoint3d> PointArray;

//=======================================================================================
// @bsiclass                                               Y.Dong          10/2014
//=======================================================================================
class TestMYFIRSTTESTTOOLTool :
    public DgnPlatform::DgnPrimitiveTool
{
    DEFINE_T_SUPER (DgnPrimitiveTool);

private:
    PointArray m_points;

public:
    TestMYFIRSTTESTTOOLTool ();

protected:
    virtual ~TestMYFIRSTTESTTOOLTool ();
    virtual Utf8CP _GetToolId() const override { return   PBBIM_TEST_MYFIRSTTESTTOOL; }
    virtual void _OnRestartTool () override;
    virtual bool _OnDataButton (DgnButtonEventCP ev) override;
    virtual bool _OnResetButton (DgnButtonEventCP ev) override;
    virtual void _OnDynamicFrame (DgnButtonEventCP ev) override;
    virtual void _OnPostInstall () override;
};
